compare attribute values and set new attribute value

hi

i am trying to find some dxl that compares attribute 'A' & 'B' and if they are the same then sets the value of attribute 'C' to 'Pass', throuhgout a module.

Anybody help?

Thanks

Arlene
SystemAdmin - Thu Dec 03 11:11:42 EST 2009

Re: compare attribute values and set new attribute value
doors36677 - Thu Dec 03 12:30:09 EST 2009

See example



//Example 
/**/ Object o string s1, s2 Module m = current 

for o in m 

do 
{ s1=o.
"A" 
"" s2=o.
"B" 
"" 

if(s1==s2)o.
"C"=
"Pass" 
} ack 
"Done"